package com.forum.module.blog.controller.comment.vo;

import com.forum.framework.common.pojo.PageParams;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 功能:
 * 作者:ouyzh
 * 日期:2025/3/4 19:31
 */
@Schema(description = "博客管理 - 评论分页 请求视图")
public class CommentPageReqVO extends PageParams {
    @Schema(description = "编号", example = "1")
    private Long id;


    @Schema(description = "文章编号", example = "1")
    private Long articleId;

    @Schema(description = "评论人", example = "1")
    private Long userId;

    @Schema(description = "内容", example = "真好")
    private String content;

    @Schema(description = "父级评论编号，0为最顶级")
    private Long parentId;

    @Schema(description = "文章状态(0正常 1屏蔽)", example = "0")
    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
